Map<String, dynamic> toJson() { return { 'provider': this.provider.toString(), 'phone': this.phoneNumber.toJson(), }; }