Value constructor

Value({
  1. String? stringValue,
  2. int? intValue,
  3. double? floatValue,
})

Implementation

factory Value({
  $core.String? stringValue,
  $core.int? intValue,
  $core.double? floatValue,
}) {
  final $result = create();
  if (stringValue != null) {
    $result.stringValue = stringValue;
  }
  if (intValue != null) {
    $result.intValue = intValue;
  }
  if (floatValue != null) {
    $result.floatValue = floatValue;
  }
  return $result;
}