LocationBean.fromJson constructor

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

Implementation

factory LocationBean.fromJson(Map<String, Object?> json) {
  return LocationBean(
    type: json[r'type'] != null
        ? LocationBeanType.fromValue(json[r'type']! as String)
        : null,
    projectKeyOrId: json[r'projectKeyOrId'] as String?,
  );
}