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