FFRandomData constructor
FFRandomData({
- FFRandomInteger? integer,
- FFRandomString? string,
- bool? isList,
- @Deprecated('This field is deprecated.') int? legacyMinLength,
- @Deprecated('This field is deprecated.') int? legacyMaxLength,
- FFRandomDouble? doubl,
- FFRandomDate? date,
- FFRandomName? name,
- FFRandomImage? image,
- FFRandomColor? color,
- FFValue? minLength,
- FFValue? maxLength,
Implementation
factory FFRandomData({
FFRandomInteger? integer,
FFRandomString? string,
$core.bool? isList,
@$core.Deprecated('This field is deprecated.') $core.int? legacyMinLength,
@$core.Deprecated('This field is deprecated.') $core.int? legacyMaxLength,
FFRandomDouble? doubl,
FFRandomDate? date,
FFRandomName? name,
FFRandomImage? image,
FFRandomColor? color,
FFValue? minLength,
FFValue? maxLength,
}) {
final result = create();
if (integer != null) result.integer = integer;
if (string != null) result.string = string;
if (isList != null) result.isList = isList;
if (legacyMinLength != null) result.legacyMinLength = legacyMinLength;
if (legacyMaxLength != null) result.legacyMaxLength = legacyMaxLength;
if (doubl != null) result.doubl = doubl;
if (date != null) result.date = date;
if (name != null) result.name = name;
if (image != null) result.image = image;
if (color != null) result.color = color;
if (minLength != null) result.minLength = minLength;
if (maxLength != null) result.maxLength = maxLength;
return result;
}