code property

String? get code

The stable machine-readable code (error field) when the API set one.

Implementation

String? get code {
  final value = details?['error'];
  return value is String ? value : null;
}