getGreatGrandchildString method
Returns the nested value at childKey → grandChildKey →
greatGrandChildKey as a String, or null if any key is missing or
the value is not a String.
Implementation
@useResult
String? getGreatGrandchildString({
required String childKey,
required String grandChildKey,
required String greatGrandChildKey,
}) {
final dynamic value = getGreatGrandchild(
childKey: childKey,
grandChildKey: grandChildKey,
greatGrandChildKey: greatGrandChildKey,
);
return value is String ? value : null;
}