FFCreateCustomInterfaceVariable constructor

FFCreateCustomInterfaceVariable({
  1. FFIdentifier? customInterfaceIdentifier,
  2. FFIdentifier? constructorIdentifier,
  3. Iterable<FFCreateCustomInterfaceVariable_InterfaceField>? fields,
})

Implementation

factory FFCreateCustomInterfaceVariable({
  FFIdentifier? customInterfaceIdentifier,
  FFIdentifier? constructorIdentifier,
  $core.Iterable<FFCreateCustomInterfaceVariable_InterfaceField>? fields,
}) {
  final result = create();
  if (customInterfaceIdentifier != null)
    result.customInterfaceIdentifier = customInterfaceIdentifier;
  if (constructorIdentifier != null)
    result.constructorIdentifier = constructorIdentifier;
  if (fields != null) result.fields.addAll(fields);
  return result;
}