createStringResult function

StringResult? createStringResult(
  1. Map<String, dynamic> result,
  2. String propertyName
)

Implementation

StringResult? createStringResult(Map<String, dynamic> result, String propertyName) {
    return result[propertyName] != null ? StringResult(Map<String, dynamic>.from(result[propertyName])) : null;
}