toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
      'data': data,
      'statusCode': statusCode,
      'statusMessage': statusMessage,
      'msg': msg,
      'code': code,
      'extension': extension,
      'original': original?.toMap()
    };