isJsonDecode property
bool
get
isJsonDecode
Check if string is json decode
Implementation
bool get isJsonDecode {
try {
jsonDecode(this) as Map<String, dynamic>;
} on FormatException catch (_) {
return false;
}
return true;
}