SRepresentationDeclaration.fromJson constructor
Implementation
factory SRepresentationDeclaration.fromJson(Map<String, dynamic> json) {
return SRepresentationDeclaration(
offset: json['offset'] as int,
length: json['length'] as int,
fieldName: json['fieldName'] as String,
fieldType:
SAstNodeFactory.fromJson(json['fieldType'] as Map<String, dynamic>?)
as STypeAnnotation,
);
}