Database.fromJson constructor
Database.fromJson(
- Map _json
Implementation
Database.fromJson(core.Map _json)
: this(
charset: _json.containsKey('charset')
? _json['charset'] as core.String
: null,
collation: _json.containsKey('collation')
? _json['collation'] as core.String
: null,
etag: _json.containsKey('etag') ? _json['etag'] as core.String : null,
instance: _json.containsKey('instance')
? _json['instance'] as core.String
: null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
project: _json.containsKey('project')
? _json['project'] as core.String
: null,
selfLink: _json.containsKey('selfLink')
? _json['selfLink'] as core.String
: null,
sqlserverDatabaseDetails:
_json.containsKey('sqlserverDatabaseDetails')
? SqlServerDatabaseDetails.fromJson(
_json['sqlserverDatabaseDetails']
as core.Map<core.String, core.dynamic>)
: null,
);