ServiceDeskCustomerDTO.fromJson constructor
Implementation
factory ServiceDeskCustomerDTO.fromJson(Map<String, Object?> json) {
return ServiceDeskCustomerDTO(
accountIds: (json[r'accountIds'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
usernames: (json[r'usernames'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
);
}