GoogleOperations.fromJson constructor

GoogleOperations.fromJson(
  1. Map _json
)

Implementation

GoogleOperations.fromJson(core.Map _json)
    : this(
        affectedUserEmails: _json.containsKey('affectedUserEmails')
            ? (_json['affectedUserEmails'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        attachmentData: _json.containsKey('attachmentData')
            ? Attachment.fromJson(_json['attachmentData']
                as core.Map<core.String, core.dynamic>)
            : null,
        description: _json.containsKey('description')
            ? _json['description'] as core.String
            : null,
        header: _json.containsKey('header')
            ? _json['header'] as core.String
            : null,
        title:
            _json.containsKey('title') ? _json['title'] as core.String : null,
      );