DictionaryAnnotationdata.fromJson constructor

DictionaryAnnotationdata.fromJson(
  1. Map json_
)

Implementation

DictionaryAnnotationdata.fromJson(core.Map json_)
    : this(
        annotationType: json_.containsKey('annotationType')
            ? json_['annotationType'] as core.String
            : null,
        data: json_.containsKey('data')
            ? Dictlayerdata.fromJson(
                json_['data'] as core.Map<core.String, core.dynamic>)
            : null,
        encodedData: json_.containsKey('encodedData')
            ? json_['encodedData'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        layerId: json_.containsKey('layerId')
            ? json_['layerId'] as core.String
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        updated: json_.containsKey('updated')
            ? json_['updated'] as core.String
            : null,
        volumeId: json_.containsKey('volumeId')
            ? json_['volumeId'] as core.String
            : null,
      );