FileReadResult constructor
FileReadResult({})
Creates an instance of FileReadResult.
map
is the map content of the file.
isSuccess
is true
if reading the file was successful.
errorMessage
contains the error message if any; empty if successful.
Implementation
FileReadResult({
required this.map,
required this.isSuccess,
required this.errorMessage,
});