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