data property

  1. @override
Map<String, dynamic> get data
override

Implementation

@override
Map<String, dynamic> get data => {
      // Standard crash fields (aligned with other platforms)
      'trace_id': traceId,
      'title': title,
      'subtitle': subtitle,
      'message': message,
      'original_message': originalMessage,
      'message_status': messageStatus,
      'hash': hash,
      'build_hash': buildHash,
      'network_type': networkType,
      'carrier': carrier,
      'ip': ip,
      'locale': locale,
      'gps_enabled': gpsEnabled,
      'crashed_after': crashedAfter,

      // Legacy fields for backward compatibility
      if (category != null) 'category': category,
      if (stack != null) 'stack': stack,
      if (library != null) 'library': library,
    };