SchemaDocumentValue constructor

SchemaDocumentValue({
  1. String? key,
  2. Kind? kind,
  3. BoolValue? boolValue,
  4. StringValue? stringValue,
  5. IntValue? intValue,
  6. FloatValue? floatValue,
  7. BytesValue? bytesValue,
  8. LinkValue? linkValue,
  9. ListValue? listValue,
})

Implementation

factory SchemaDocumentValue({
  $core.String? key,
  $5.Kind? kind,
  BoolValue? boolValue,
  StringValue? stringValue,
  IntValue? intValue,
  FloatValue? floatValue,
  BytesValue? bytesValue,
  LinkValue? linkValue,
  ListValue? listValue,
}) {
  final _result = create();
  if (key != null) {
    _result.key = key;
  }
  if (kind != null) {
    _result.kind = kind;
  }
  if (boolValue != null) {
    _result.boolValue = boolValue;
  }
  if (stringValue != null) {
    _result.stringValue = stringValue;
  }
  if (intValue != null) {
    _result.intValue = intValue;
  }
  if (floatValue != null) {
    _result.floatValue = floatValue;
  }
  if (bytesValue != null) {
    _result.bytesValue = bytesValue;
  }
  if (linkValue != null) {
    _result.linkValue = linkValue;
  }
  if (listValue != null) {
    _result.listValue = listValue;
  }
  return _result;
}