BoardLocation.fromJson constructor

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

Implementation

factory BoardLocation.fromJson(Map<String, Object?> json) {
  return BoardLocation(
    projectId: (json[r'projectId'] as num?)?.toInt(),
    userId: (json[r'userId'] as num?)?.toInt(),
    userAccountId: json[r'userAccountId'] as String?,
    displayName: json[r'displayName'] as String?,
    projectName: json[r'projectName'] as String?,
    projectKey: json[r'projectKey'] as String?,
    projectTypeKey: json[r'projectTypeKey'] as String?,
    avatarUri: json[r'avatarURI'] as String?,
    name: json[r'name'] as String?,
  );
}