Schema.fromJson constructor

Schema.fromJson(
  1. Map json_
)

Implementation

Schema.fromJson(core.Map json_)
    : this(
        definition: json_.containsKey('definition')
            ? json_['definition'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        revisionCreateTime: json_.containsKey('revisionCreateTime')
            ? json_['revisionCreateTime'] as core.String
            : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );