SchemaSegment.fromJson constructor

SchemaSegment.fromJson(
  1. Map json_
)

Implementation

SchemaSegment.fromJson(core.Map json_)
    : this(
        maxOccurs: json_.containsKey('maxOccurs')
            ? json_['maxOccurs'] as core.int
            : null,
        minOccurs: json_.containsKey('minOccurs')
            ? json_['minOccurs'] as core.int
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );