toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (arrayElementType != null) 'arrayElementType': arrayElementType!,
  if (code != null) 'code': code!,
  if (protoTypeFqn != null) 'protoTypeFqn': protoTypeFqn!,
  if (structType != null) 'structType': structType!,
  if (typeAnnotation != null) 'typeAnnotation': typeAnnotation!,
};