toJson method

Map<String, dynamic> toJson()

Converts the RemoteLog instance to a JSON object.

Implementation

Map<String, dynamic> toJson() => {
      'logLevel': logLevel,
      'tag': tag,
      'message': message,
      'throwable': throwable,
      'time': time,
    };