PlexSuccess<T> constructor
Implementation
PlexSuccess(String? body, this.code) {
if (body == null || body == "") {
response = null;
} else {
try {
response = jsonDecode(body!);
} catch (e) {
response = body!.toString();
}
}
}