Chain constructor

Chain({
  1. ChainRef? type,
})

Implementation

factory Chain({
  ChainRef? type,
}) {
  final result = create();
  if (type != null) result.type = type;
  return result;
}