getState function

String getState({
  1. required String name,
})

Gets the value of an state set by this action's main execution.

Implementation

String getState({required String name}) =>
    environmentVariables['STATE_$name'] ?? '';