Map<String, dynamic> toJson() { final id = this.id; final role = this.role; final type = this.type; return { 'Id': id, 'Role': role.toValue(), 'Type': type.toValue(), }; }