ActivityContentDetailsSocial.fromJson constructor

ActivityContentDetailsSocial.fromJson(
  1. Map json_
)

Implementation

ActivityContentDetailsSocial.fromJson(core.Map json_)
  : this(
      author: json_['author'] as core.String?,
      imageUrl: json_['imageUrl'] as core.String?,
      referenceUrl: json_['referenceUrl'] as core.String?,
      resourceId:
          json_.containsKey('resourceId')
              ? ResourceId.fromJson(
                json_['resourceId'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      type: json_['type'] as core.String?,
    );