SqlServerSchema.fromJson constructor

SqlServerSchema.fromJson(
  1. Map json_
)

Implementation

SqlServerSchema.fromJson(core.Map json_)
    : this(
        schema: json_.containsKey('schema')
            ? json_['schema'] as core.String
            : null,
        tables: json_.containsKey('tables')
            ? (json_['tables'] as core.List)
                .map((value) => SqlServerTable.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );