GoogleCloudDocumentaiV1DocumentStyle.fromJson constructor
GoogleCloudDocumentaiV1DocumentStyle.fromJson(
- Map json_
Implementation
GoogleCloudDocumentaiV1DocumentStyle.fromJson(core.Map json_)
: this(
backgroundColor: json_.containsKey('backgroundColor')
? GoogleTypeColor.fromJson(json_['backgroundColor']
as core.Map<core.String, core.dynamic>)
: null,
color: json_.containsKey('color')
? GoogleTypeColor.fromJson(
json_['color'] as core.Map<core.String, core.dynamic>)
: null,
fontFamily: json_.containsKey('fontFamily')
? json_['fontFamily'] as core.String
: null,
fontSize: json_.containsKey('fontSize')
? GoogleCloudDocumentaiV1DocumentStyleFontSize.fromJson(
json_['fontSize'] as core.Map<core.String, core.dynamic>)
: null,
fontWeight: json_.containsKey('fontWeight')
? json_['fontWeight'] as core.String
: null,
textAnchor: json_.containsKey('textAnchor')
? GoogleCloudDocumentaiV1DocumentTextAnchor.fromJson(
json_['textAnchor'] as core.Map<core.String, core.dynamic>)
: null,
textDecoration: json_.containsKey('textDecoration')
? json_['textDecoration'] as core.String
: null,
textStyle: json_.containsKey('textStyle')
? json_['textStyle'] as core.String
: null,
);