setGroupAttributes method Null safety

Future<V2TimCallback> setGroupAttributes(
  1. {required String groupID,
  2. required Map<String, String> attributes}
)

Set group attributes. If the group attributes already exist, their values are updated. Otherwise, the group attributes are added.

Implementation

Future<V2TimCallback> setGroupAttributes({
  required String groupID,
  required Map<String, String> attributes,
}) async {
  return ImFlutterPlatform.instance
      .setGroupAttributes(groupID: groupID, attributes: attributes);
}