props property
IMap<String, dynamic>
props
The properties added to the exception, if any.
They are an immutable-map of type IMap
, of key-value pairs.
To read the properties, use the []
operator, like this:
var value = exception.props['key'];
If the key does not exist, it will return null
.
Implementation
IMap<String, dynamic> get props {
var exception = this;
return (exception is AdvancedUserException)
? exception.props
: const IMapConst<String, dynamic>({});
}