getStringValue function

String? getStringValue(
  1. DartObject obj,
  2. String name
)

Catch string property value from dartObject

Implementation

String? getStringValue(DartObject obj, String name) =>
    ifExist(obj, name) ? obj.getField(name)!.toStringValue() : null;