GetDatabaseDdlResponse.fromJson constructor

GetDatabaseDdlResponse.fromJson(
  1. Map json_
)

Implementation

GetDatabaseDdlResponse.fromJson(core.Map json_)
    : this(
        protoDescriptors: json_.containsKey('protoDescriptors')
            ? json_['protoDescriptors'] as core.String
            : null,
        statements: json_.containsKey('statements')
            ? (json_['statements'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );