FFCustomCodeFile constructor
FFCustomCodeFile({
- @Deprecated('This field is deprecated.') String? deprecatedFilePath,
- String? code,
- Iterable<
FFCustomCodeEntity> ? customCodeEntities, - Iterable<
String> ? exports, - FFIdentifier? identifier,
Implementation
factory FFCustomCodeFile({
@$core.Deprecated('This field is deprecated.')
$core.String? deprecatedFilePath,
$core.String? code,
$core.Iterable<FFCustomCodeEntity>? customCodeEntities,
$core.Iterable<$core.String>? exports,
FFIdentifier? identifier,
}) {
final result = create();
if (deprecatedFilePath != null)
result.deprecatedFilePath = deprecatedFilePath;
if (code != null) result.code = code;
if (customCodeEntities != null)
result.customCodeEntities.addAll(customCodeEntities);
if (exports != null) result.exports.addAll(exports);
if (identifier != null) result.identifier = identifier;
return result;
}