FFCustomFile constructor
FFCustomFile({
- FFIdentifier? identifier,
- FFEditMetadata? editMetadata,
- FFCustomFile_Type? type,
- bool? isUnlocked,
- String? fullContent,
- Iterable<
FFCustomFile_Hook> ? hooks, - Iterable<
FFCustomFile_Action> ? actions, - Iterable<
MapEntry< ? parameters,String, FFCustomFile_Parameter> >
Implementation
factory FFCustomFile({
FFIdentifier? identifier,
FFEditMetadata? editMetadata,
FFCustomFile_Type? type,
$core.bool? isUnlocked,
$core.String? fullContent,
$core.Iterable<FFCustomFile_Hook>? hooks,
$core.Iterable<FFCustomFile_Action>? actions,
$core.Iterable<$core.MapEntry<$core.String, FFCustomFile_Parameter>>?
parameters,
}) {
final result = create();
if (identifier != null) result.identifier = identifier;
if (editMetadata != null) result.editMetadata = editMetadata;
if (type != null) result.type = type;
if (isUnlocked != null) result.isUnlocked = isUnlocked;
if (fullContent != null) result.fullContent = fullContent;
if (hooks != null) result.hooks.addAll(hooks);
if (actions != null) result.actions.addAll(actions);
if (parameters != null) result.parameters.addEntries(parameters);
return result;
}