Document.fromJson constructor
Document.fromJson(
- Map json_
Implementation
Document.fromJson(core.Map json_)
: this(
content: json_.containsKey('content')
? json_['content'] as core.String
: null,
gcsContentUri: json_.containsKey('gcsContentUri')
? json_['gcsContentUri'] as core.String
: null,
languageCode: json_.containsKey('languageCode')
? json_['languageCode'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);