toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "id": id,
  "displayName": displayName,
  "userName": userName,
  "phoneNumber": phoneNumber,
  "createdAt": createdAt.toIso8601String(),
};