SchemaSettings.fromJson constructor

SchemaSettings.fromJson(
  1. Map json_
)

Implementation

SchemaSettings.fromJson(core.Map json_)
    : this(
        encoding: json_.containsKey('encoding')
            ? json_['encoding'] as core.String
            : null,
        firstRevisionId: json_.containsKey('firstRevisionId')
            ? json_['firstRevisionId'] as core.String
            : null,
        lastRevisionId: json_.containsKey('lastRevisionId')
            ? json_['lastRevisionId'] as core.String
            : null,
        schema: json_.containsKey('schema')
            ? json_['schema'] as core.String
            : null,
      );