toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "first_name": firstName,
      "last_name": lastName,
      "email": email,
      "company_id": companyId,
      "created_at": createdAt.toIso8601String(),
      "token": token,
    };