toJson method

Map<String, dynamic> toJson()

转换为 JSON

Implementation

Map<String, dynamic> toJson() {
  return {
    'id': id,
    'staff_id': staffId,
    'from_user_id': fromUserId,
    'from_staff_id': fromStaffId,
    'region': region,
    'rm_id': rmId,
    'create_time': createTime,
    'update_time': updateTime,
    'status': status,
    'is_active': isActive,
    'cc': cc,
    'mobile': mobile,
    'name': name,
    'password': password,
    'salt': salt,
    'score': score,
    'label': label,
    'gender': gender,
    'age': age,
  };
}