FFIconData constructor

FFIconData({
  1. int? codePoint,
  2. String? family,
  3. String? package,
  4. bool? matchTextDirection,
  5. PackageIcon? packageIcon,
  6. String? name,
  7. bool? isCustom,
})

Implementation

factory FFIconData({
  $core.int? codePoint,
  $core.String? family,
  $core.String? package,
  $core.bool? matchTextDirection,
  PackageIcon? packageIcon,
  $core.String? name,
  $core.bool? isCustom,
}) {
  final result = create();
  if (codePoint != null) result.codePoint = codePoint;
  if (family != null) result.family = family;
  if (package != null) result.package = package;
  if (matchTextDirection != null)
    result.matchTextDirection = matchTextDirection;
  if (packageIcon != null) result.packageIcon = packageIcon;
  if (name != null) result.name = name;
  if (isCustom != null) result.isCustom = isCustom;
  return result;
}