toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  final map = <String, dynamic>{};
  map['uid'] = uid;
  map['name'] = name;
  map['link'] = link;
  map['avatar'] = avatar;
  map['status'] = status;
  map['role'] = role;
  map['lastActiveAt'] = lastActiveAt;
  map['statusMessage'] = statusMessage;
  map['tags'] = tags;
  map['hasBlockedMe'] = hasBlockedMe;
  map['blockedByMe'] = blockedByMe;
  map['metadata'] = metadata;
  return map;
}