toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "message": message,
      "status": status,
      "data": data,
      "linkId": linkId,
      "errors": errors == null
          ? []
          : List<dynamic>.from(errors!.map((x) => x.toMap())),
      "errorLevel": errorLevel,
    };