ProjectAvatars.fromJson constructor
Implementation
factory ProjectAvatars.fromJson(Map<String, Object?> json) {
return ProjectAvatars(
custom: (json[r'custom'] as List<Object?>?)
?.map((i) =>
Avatar.fromJson(i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
system: (json[r'system'] as List<Object?>?)
?.map((i) =>
Avatar.fromJson(i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}