Context constructor

Context({
  1. String? name,
  2. int? lifespanCount,
  3. Struct? parameters,
})

Implementation

factory Context({
  $core.String? name,
  $core.int? lifespanCount,
  $18.Struct? parameters,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (lifespanCount != null) {
    _result.lifespanCount = lifespanCount;
  }
  if (parameters != null) {
    _result.parameters = parameters;
  }
  return _result;
}