toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cardinality != null) 'cardinality': cardinality!,
if (defaultValue != null) 'defaultValue': defaultValue!,
if (jsonName != null) 'jsonName': jsonName!,
if (kind != null) 'kind': kind!,
if (name != null) 'name': name!,
if (number != null) 'number': number!,
if (oneofIndex != null) 'oneofIndex': oneofIndex!,
if (options != null) 'options': options!,
if (packed != null) 'packed': packed!,
if (typeUrl != null) 'typeUrl': typeUrl!,
};