s<T> method

T? s<T>(
  1. String name, [
  2. T? def
])

Implementation

T? s<T>(String name, [T? def]) => this[name]?.t<T>() ?? def;