reason property Null safety

Map<String, String> reason
final

The error in two parts a code and a localized message reasonerror is the code reasonmessage is the localized message

Implementation

final Map<String, String> reason;