TableConstraintsForeignKeys.fromJson constructor

TableConstraintsForeignKeys.fromJson(
  1. Map json_
)

Implementation

TableConstraintsForeignKeys.fromJson(core.Map json_)
    : this(
        columnReferences: json_.containsKey('columnReferences')
            ? (json_['columnReferences'] as core.List)
                .map((value) =>
                    TableConstraintsForeignKeysColumnReferences.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        referencedTable: json_.containsKey('referencedTable')
            ? TableConstraintsForeignKeysReferencedTable.fromJson(
                json_['referencedTable']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );