Type.fromJson constructor
Type.fromJson(
- Map json_
Implementation
Type.fromJson(core.Map json_)
: this(
arrayElementType: json_.containsKey('arrayElementType')
? Type.fromJson(json_['arrayElementType']
as core.Map<core.String, core.dynamic>)
: null,
code: json_.containsKey('code') ? json_['code'] as core.String : null,
protoTypeFqn: json_.containsKey('protoTypeFqn')
? json_['protoTypeFqn'] as core.String
: null,
structType: json_.containsKey('structType')
? StructType.fromJson(
json_['structType'] as core.Map<core.String, core.dynamic>)
: null,
typeAnnotation: json_.containsKey('typeAnnotation')
? json_['typeAnnotation'] as core.String
: null,
);