DatabaseEntity.fromJson constructor
DatabaseEntity.fromJson(
- Map json_
Implementation
DatabaseEntity.fromJson(core.Map json_)
: this(
database: json_.containsKey('database')
? DatabaseInstanceEntity.fromJson(
json_['database'] as core.Map<core.String, core.dynamic>)
: null,
databaseFunction: json_.containsKey('databaseFunction')
? FunctionEntity.fromJson(json_['databaseFunction']
as core.Map<core.String, core.dynamic>)
: null,
databasePackage: json_.containsKey('databasePackage')
? PackageEntity.fromJson(json_['databasePackage']
as core.Map<core.String, core.dynamic>)
: null,
entityDdl: json_.containsKey('entityDdl')
? (json_['entityDdl'] as core.List)
.map((value) => EntityDdl.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
entityType: json_.containsKey('entityType')
? json_['entityType'] as core.String
: null,
issues: json_.containsKey('issues')
? (json_['issues'] as core.List)
.map((value) => EntityIssue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
mappings: json_.containsKey('mappings')
? (json_['mappings'] as core.List)
.map((value) => EntityMapping.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
materializedView: json_.containsKey('materializedView')
? MaterializedViewEntity.fromJson(json_['materializedView']
as core.Map<core.String, core.dynamic>)
: null,
parentEntity: json_.containsKey('parentEntity')
? json_['parentEntity'] as core.String
: null,
schema: json_.containsKey('schema')
? SchemaEntity.fromJson(
json_['schema'] as core.Map<core.String, core.dynamic>)
: null,
sequence: json_.containsKey('sequence')
? SequenceEntity.fromJson(
json_['sequence'] as core.Map<core.String, core.dynamic>)
: null,
shortName: json_.containsKey('shortName')
? json_['shortName'] as core.String
: null,
storedProcedure: json_.containsKey('storedProcedure')
? StoredProcedureEntity.fromJson(json_['storedProcedure']
as core.Map<core.String, core.dynamic>)
: null,
synonym: json_.containsKey('synonym')
? SynonymEntity.fromJson(
json_['synonym'] as core.Map<core.String, core.dynamic>)
: null,
table: json_.containsKey('table')
? TableEntity.fromJson(
json_['table'] as core.Map<core.String, core.dynamic>)
: null,
tree: json_.containsKey('tree') ? json_['tree'] as core.String : null,
udt: json_.containsKey('udt')
? UDTEntity.fromJson(
json_['udt'] as core.Map<core.String, core.dynamic>)
: null,
view: json_.containsKey('view')
? ViewEntity.fromJson(
json_['view'] as core.Map<core.String, core.dynamic>)
: null,
);