ActivityContentDetailsRecommendation.fromJson constructor

ActivityContentDetailsRecommendation.fromJson(
  1. Map json_
)

Implementation

ActivityContentDetailsRecommendation.fromJson(core.Map json_)
    : this(
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        resourceId: json_.containsKey('resourceId')
            ? ResourceId.fromJson(
                json_['resourceId'] as core.Map<core.String, core.dynamic>)
            : null,
        seedResourceId: json_.containsKey('seedResourceId')
            ? ResourceId.fromJson(json_['seedResourceId']
                as core.Map<core.String, core.dynamic>)
            : null,
      );