EventAttachment.fromJson constructor

EventAttachment.fromJson(
  1. Map json_
)

Implementation

EventAttachment.fromJson(core.Map json_)
    : this(
        fileId: json_.containsKey('fileId')
            ? json_['fileId'] as core.String
            : null,
        fileUrl: json_.containsKey('fileUrl')
            ? json_['fileUrl'] as core.String
            : null,
        iconLink: json_.containsKey('iconLink')
            ? json_['iconLink'] as core.String
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );