maybeGetObject<T> method
Returns the value of key parsed as JSON and converted with fromJson,
or null if it isn't set, isn't valid JSON, or fromJson throws.
Implementation
T? maybeGetObject<T>(
String key, {
required T Function(dynamic json) fromJson,
}) => decodeJsonObjectOrNull<T>(maybeGetString(key), fromJson: fromJson);