Documentation.fromJson constructor

Documentation.fromJson(
  1. Map json_
)

Implementation

Documentation.fromJson(core.Map json_)
    : this(
        content: json_.containsKey('content')
            ? json_['content'] as core.String
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
        subject: json_.containsKey('subject')
            ? json_['subject'] as core.String
            : null,
      );