getCustomProperty<T> method

T? getCustomProperty<T>(
  1. String key
)

Implementation

T? getCustomProperty<T>(String key) {
  final value = customProperties?[key];
  if (value is T) {
    return value;
  }
  return null;
}