fromJson method
Implementation
@override
List<CapabilityId> fromJson(Object? json) {
if (json == null) {
return const <CapabilityId>[];
}
if (json is Iterable) {
return CapabilityIds.normalizeAll(json);
}
throw const FormatException('Expected a capability ID array.');
}