ClaimBase constructor

ClaimBase({
  1. BoolClaim? boolClaim,
  2. StringClaim? stringClaim,
  3. StringListClaim? stringListClaim,
})

Implementation

factory ClaimBase({
  $23.BoolClaim? boolClaim,
  $24.StringClaim? stringClaim,
  $25.StringListClaim? stringListClaim,
}) {
  final _result = create();
  if (boolClaim != null) {
    _result.boolClaim = boolClaim;
  }
  if (stringClaim != null) {
    _result.stringClaim = stringClaim;
  }
  if (stringListClaim != null) {
    _result.stringListClaim = stringListClaim;
  }
  return _result;
}