getPayloadMapKey<T> method

T getPayloadMapKey<T>(
  1. String key
)

Implementation

T getPayloadMapKey<T>(String key) {
  final p = payload as Map<String, dynamic>;
  return p[key] as T;
}