toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (attributes != null) 'attributes': attributes!,
  if (children != null) 'children': children!,
  if (containsLargeData != null) 'containsLargeData': containsLargeData!,
  if (dataType != null) 'dataType': dataType!,
  if (defaultValue != null) 'defaultValue': defaultValue!,
  if (description != null) 'description': description!,
  if (inOutType != null) 'inOutType': inOutType!,
  if (isTransient != null) 'isTransient': isTransient!,
  if (jsonSchema != null) 'jsonSchema': jsonSchema!,
  if (key != null) 'key': key!,
  if (name != null) 'name': name!,
  if (producedBy != null) 'producedBy': producedBy!,
  if (producer != null) 'producer': producer!,
  if (protoDefName != null) 'protoDefName': protoDefName!,
  if (protoDefPath != null) 'protoDefPath': protoDefPath!,
  if (required != null) 'required': required!,
};