toMap method

Map<String, dynamic> toMap()

Converts this EMDKException to a Map suitable for sending over the platform channel.

Implementation

Map<String, dynamic> toMap() {
  return {
    'result': result?.toMap(),
    'message': message,
  };
}