NotifyResult constructor

NotifyResult({
  1. bool? success,
  2. String? message,
  3. String? notificationId,
  4. Struct? extras,
})

Implementation

factory NotifyResult({
  $core.bool? success,
  $core.String? message,
  $core.String? notificationId,
  $6.Struct? extras,
}) {
  final $result = create();
  if (success != null) {
    $result.success = success;
  }
  if (message != null) {
    $result.message = message;
  }
  if (notificationId != null) {
    $result.notificationId = notificationId;
  }
  if (extras != null) {
    $result.extras = extras;
  }
  return $result;
}