toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'id': id,
    'email': email,
    'full_name': fullName,
    'plan': plan,
    'created_at': createdAt.toIso8601String(),
    'deleted_at': deletedAt?.toIso8601String(),
    'updated_at': updatedAt?.toIso8601String(),
  };
}