properties method
override
Report a dictionary mapping each optional property to whether it is supported by this encoder.
// Return whether the encoder supports certain optional features
var properties = await myEncoder.properties();
For more information, see Encoder component.
Implementation
@override
Future<EncoderProperties> properties({Map<String, dynamic>? extra}) async {
final request = GetPropertiesRequest()
..name = name
..extra = extra?.toStruct() ?? Struct();
return await client.getProperties(request, options: callOptions);
}