ContentBlockResource.fromMap constructor
Implementation
factory ContentBlockResource.fromMap(Map<Object?, Object?> value) {
final decoded = ContentBlock.fromMap(value);
if (decoded is! ContentBlockResource) {
throw const AcpWireDecodeException('Expected ContentBlockResource.');
}
return decoded;
}