UserDetailsBusiness.fromJson constructor

UserDetailsBusiness.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory UserDetailsBusiness.fromJson(Map<String, Object?> json) {
  return UserDetailsBusiness(
    position: json[r'position'] as String?,
    department: json[r'department'] as String?,
    location: json[r'location'] as String?,
  );
}