properties method

  1. @override
Future<BaseProperties> properties({
  1. Map<String, dynamic>? extra,
})
override

Report a dictionary mapping optional properties to whether it is supported by this base.

For more information, see Base component.

Implementation

@override
Future<BaseProperties> properties({Map<String, dynamic>? extra}) async {
  final request = GetPropertiesRequest()
    ..name = name
    ..extra = extra?.toStruct() ?? Struct();
  return await client.getProperties(request);
}