ActivityContentDetailsSocial.fromJson constructor

ActivityContentDetailsSocial.fromJson(
  1. Map json_
)

Implementation

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