QueryMetadata.fromJson constructor

QueryMetadata.fromJson(
  1. Map json_
)

Implementation

QueryMetadata.fromJson(core.Map json_)
    : this(
        dataRange: json_.containsKey('dataRange')
            ? DataRange.fromJson(
                json_['dataRange'] as core.Map<core.String, core.dynamic>)
            : null,
        format: json_.containsKey('format')
            ? json_['format'] as core.String
            : null,
        sendNotification: json_.containsKey('sendNotification')
            ? json_['sendNotification'] as core.bool
            : null,
        shareEmailAddress: json_.containsKey('shareEmailAddress')
            ? (json_['shareEmailAddress'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );