assignValue<T> method

T? assignValue<T>(
  1. T? value, {
  2. T? defaultValue,
  3. bool loose = true,
})

Implementation

T? assignValue<T>(T? value, {T? defaultValue, bool loose = true}) {
  return getValue(value, defaultValue: defaultValue, loose: loose);
}