RemoveExamplesResponse.fromJson constructor
RemoveExamplesResponse.fromJson(
- Object? j
Implementation
factory RemoveExamplesResponse.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return RemoveExamplesResponse(
exampleIds: switch (json['exampleIds']) {
null => [],
List<Object?> $1 => [for (final i in $1) decodeString(i)],
_ => throw const FormatException('"exampleIds" is not a list'),
},
);
}