addGlobalKey method
Adds a FormCraftTextField widget to the internal map using the specified key.
The reason to make this method public only for testing purposes.
Implementation
void addGlobalKey(String key, GlobalKey<FormCraftTextFieldState> globalKey) {
globalKeys[key] = globalKey;
}