update Error And Message Map
Updates map errors and message from {@param errorMessageValue} if not null, otherwise update map from saved data in shared preferences.
Parameters
context
error Message Value
Json string of errors and map.