GetEntityPathResult.fromMap constructor

GetEntityPathResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetEntityPathResult.fromMap(Map<String, dynamic> map) {
  return GetEntityPathResult(
    entityId: (() { final guardedValue = map['entityId']; if (guardedValue == null) return null; return guardedValue as String; })(),
    entityPath: (() { final guardedValue = map['entityPath']; if (guardedValue == null) return null; return guardedValue as String; })(),
  );
}