toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'default': this._default,
      'number': this.number,
      'type': this.type,
    };