GrabResponse constructor

GrabResponse({
  1. bool? success,
  2. Struct? extra,
})

Implementation

factory GrabResponse({
  $core.bool? success,
  $43.Struct? extra,
}) {
  final $result = create();
  if (success != null) {
    $result.success = success;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}