toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxOccurs != null) 'maxOccurs': maxOccurs!,
      if (minOccurs != null) 'minOccurs': minOccurs!,
      if (type != null) 'type': type!,
    };