updateMyMemberExtension method Null safety

Future<NIMResult<void>> updateMyMemberExtension(
  1. String teamId,
  2. Map<String, Object> extension
)

Modify the current user's custom attribute as a group member teamId: The group ID extension: The new extension field (custom attribute)

Implementation

Future<NIMResult<void>> updateMyMemberExtension(
    String teamId, Map<String, Object> extension) {
  return _platform.updateMyMemberExtension(teamId, extension);
}