details property
String
get
details
The most useful human-readable text for this error.
VM service extension errors carry the app's message in
data.details, so that wins over the generic message.
Implementation
String get details {
final Object? value = data;
if (value is Map && value['details'] is String) {
final String text = value['details'] as String;
if (text.isNotEmpty) return text;
}
return message;
}