create abstract method

Future<Invite> create({
  1. required Object channelId,
  2. Duration? maxAge,
  3. int? maxUses,
  4. bool? temporary,
  5. bool? unique,
  6. InviteTargetType? targetType,
  7. Object? targetUserId,
  8. Object? targetApplicationId,
  9. String? reason,
})

Implementation

Future<Invite> create({
  required Object channelId,
  Duration? maxAge,
  int? maxUses,
  bool? temporary,
  bool? unique,
  InviteTargetType? targetType,
  Object? targetUserId,
  Object? targetApplicationId,
  String? reason,
});