Map<String, dynamic> toJson() { final number = this.number; final type = this.type; return { 'Number': number, 'Type': type.toValue(), }; }