FutureResourcesRecommendation.fromJson constructor

FutureResourcesRecommendation.fromJson(
  1. Map json_
)

Implementation

FutureResourcesRecommendation.fromJson(core.Map json_)
  : this(
      endTime: json_['endTime'] as core.String?,
      location: json_['location'] as core.String?,
      otherLocations:
          (json_['otherLocations'] as core.Map<core.String, core.dynamic>?)
              ?.map(
                (key, value) => core.MapEntry(
                  key,
                  FutureResourcesRecommendationOtherLocation.fromJson(
                    value as core.Map<core.String, core.dynamic>,
                  ),
                ),
              ),
      recommendationId: json_['recommendationId'] as core.String?,
      recommendationType: json_['recommendationType'] as core.String?,
      startTime: json_['startTime'] as core.String?,
    );