dbBody property

String? get dbBody

Custom data type converter of body.

Implementation

String? get dbBody {
  if (body != null) {
    try {
      return jsonEncode(body);
    } catch (_) {
      return jsonEncode(body.toString());
    }
  }
  return null;
}
set dbBody (String? value)

Custom data type converter of body.

Implementation

set dbBody(String? value) => body = value != null ? jsonDecode(value) : null;