Status constructor

Status({
  1. int? code,
  2. String? message,
  3. Iterable<Any>? details,
})

Implementation

factory Status({
  $core.int? code,
  $core.String? message,
  $core.Iterable<$0.Any>? details,
}) {
  final $result = create();
  if (code != null) {
    $result.code = code;
  }
  if (message != null) {
    $result.message = message;
  }
  if (details != null) {
    $result.details.addAll(details);
  }
  return $result;
}