Schemas.fromJson constructor

Schemas.fromJson(
  1. Map json_
)

Implementation

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