getPayload method

dynamic getPayload(
  1. String key, {
  2. dynamic defaultValue,
})

Get payload

Implementation

dynamic getPayload(String key, {dynamic defaultValue}) async {
  await _generateInput();
  return _payload![key] ?? defaultValue;
}