FieldResponse constructor
const
FieldResponse({
- required Input<
String> cardinality, - required Input<
String> defaultValue, - required Input<
String> jsonName, - required Input<
String> kind, - required Input<
String> name, - required Input<
int> number, - required Input<
int> oneofIndex, - required Input<
List< options,OptionResponse> > - required Input<
bool> packed, - required Input<
String> typeUrl,
Creates a new FieldResponse.
cardinality The field cardinality.
defaultValue The string value of the default value of this field. Proto2 syntax only.
jsonName The field JSON name.
kind The field type.
name The field name.
number The field number.
oneofIndex The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.
options The protocol buffer options.
packed Whether to use alternative packed wire representation.
typeUrl The field type URL, without the scheme, for message or enumeration types. Example: "type.googleapis.com/google.protobuf.Timestamp".
Implementation
const FieldResponse({
required this.cardinality,
required this.defaultValue,
required this.jsonName,
required this.kind,
required this.name,
required this.number,
required this.oneofIndex,
required this.options,
required this.packed,
required this.typeUrl,
});