Flutter Engine
The Flutter Engine
Public Attributes | Package Functions | List of all members
io.flutter.plugin.common.FlutterException Class Reference
Inheritance diagram for io.flutter.plugin.common.FlutterException:

Public Attributes

final String code
 
final Object details
 

Package Functions

 FlutterException (String code, String message, Object details)
 

Detailed Description

Thrown to indicate that a Flutter method invocation failed on the Flutter side.

Definition at line 11 of file FlutterException.java.

Constructor & Destructor Documentation

◆ FlutterException()

io.flutter.plugin.common.FlutterException.FlutterException ( String  code,
String  message,
Object  details 
)
inlinepackage

Definition at line 17 of file FlutterException.java.

17 {
18 super(message);
19 if (BuildConfig.DEBUG && code == null) {
20 Log.e(TAG, "Parameter code must not be null.");
21 }
22 this.code = code;
23 this.details = details;
24 }
Win32Message message
void Log(const char *format,...) SK_PRINTF_LIKE(1
Definition: TestRunner.cpp:137

Member Data Documentation

◆ code

final String io.flutter.plugin.common.FlutterException.code

Definition at line 14 of file FlutterException.java.

◆ details

final Object io.flutter.plugin.common.FlutterException.details

Definition at line 15 of file FlutterException.java.


The documentation for this class was generated from the following file: