UserPushTemplateSetRequest constructor Null safety

UserPushTemplateSetRequest(
  1. String name,
  2. {String? userId}
)

Implementation

UserPushTemplateSetRequest(String name, {String? userId})
    : super(userId: userId) {
  url = 'users/${userId ?? state.userId}/push/template';
  body = {'name': name};
}