OrganizationCreateDTO.fromJson constructor

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

Implementation

factory OrganizationCreateDTO.fromJson(Map<String, Object?> json) {
  return OrganizationCreateDTO(
    name: json[r'name'] as String? ?? '',
  );
}