dynamic parseGlobalState(Map<String, dynamic> state) { return globalStateParser != null ? globalStateParser!(state) : null; }