HMSRole constructor Null safety

HMSRole(
  1. {required String name,
  2. required HMSPublishSetting? publishSettings,
  3. required HMSSubscribeSettings? subscribeSettings,
  4. required int priority,
  5. HMSPermissions? permissions,
  6. required Map? generalPermissions,
  7. required Map? internalPlugins,
  8. required Map? externalPlugins}
)

Implementation

HMSRole(
    {required this.name,
    required this.publishSettings,
    required this.subscribeSettings,
    required this.priority,
    this.permissions,
    required this.generalPermissions,
    required this.internalPlugins,
    required this.externalPlugins});