Schema.fromJson constructor

Schema.fromJson(
  1. Map json_
)

Implementation

Schema.fromJson(core.Map json_)
    : this(
        objectDefinitions: json_.containsKey('objectDefinitions')
            ? (json_['objectDefinitions'] as core.List)
                .map((value) => ObjectDefinition.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        operationIds: json_.containsKey('operationIds')
            ? (json_['operationIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );