NotificationError constructor

NotificationError({
  1. int? subscriptionId,
  2. int? statusCode,
  3. String? error,
})

Implementation

factory NotificationError({
  $core.int? subscriptionId,
  $core.int? statusCode,
  $core.String? error,
}) {
  final _result = create();
  if (subscriptionId != null) {
    _result.subscriptionId = subscriptionId;
  }
  if (statusCode != null) {
    _result.statusCode = statusCode;
  }
  if (error != null) {
    _result.error = error;
  }
  return _result;
}