create static method

Future<InstrumentationEvent> create({
  1. String? eventId,
  2. int startTime = 0,
  3. int endTime = 0,
  4. String? name,
  5. Map<String, dynamic>? attributes,
  6. String? sessionId,
  7. int sequenceId = 0,
  8. String? senderId,
  9. Map<String, dynamic>? senderContext,
  10. SchemaType? schemaType,
  11. EventType? eventType,
  12. ErrorType? errorType,
  13. DeviceAppAttributes? deviceAppAttributes,
  14. String? connectionType,
  15. String? senderParentId,
  16. int sessionStartTime = 0,
  17. Map<String, dynamic>? page,
  18. Map<String, dynamic>? previousPage,
  19. Map<String, dynamic>? marks,
})

Implementation

static Future<InstrumentationEvent> create(
        {String? eventId,
        int startTime = 0,
        int endTime = 0,
        String? name,
        Map<String, dynamic>? attributes,
        String? sessionId,
        int sequenceId = 0,
        String? senderId,
        Map<String, dynamic>? senderContext,
        SchemaType? schemaType,
        EventType? eventType,
        ErrorType? errorType,
        DeviceAppAttributes? deviceAppAttributes,
        String? connectionType,
        String? senderParentId,
        int sessionStartTime = 0,
        Map<String, dynamic>? page,
        Map<String, dynamic>? previousPage,
        Map<String, dynamic>? marks}) =>
    _plugin.create(
        eventId,
        startTime,
        endTime,
        name,
        attributes,
        sessionId,
        sequenceId,
        senderId,
        senderContext,
        schemaType,
        eventType,
        errorType,
        deviceAppAttributes,
        connectionType,
        senderParentId,
        sessionStartTime,
        page,
        previousPage,
        marks);