Decode an embedded resource content block's resource payload into a
typed ResourceContents. For the embeddedResource kind this is
ResourceContents.fromJson of the raw resource() object (giving typed
uri/mimeType/text/blob access instead of the untyped Json); for
any other kind it returns a default ResourceContents.
Decode an embedded resource content block's resource payload into a typed ResourceContents. For the embeddedResource kind this is ResourceContents.fromJson of the raw resource() object (giving typed uri/mimeType/text/blob access instead of the untyped Json); for any other kind it returns a default ResourceContents.