GetGroupLookupResult.fromMap constructor

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

Implementation

factory GetGroupLookupResult.fromMap(Map<String, dynamic> map) {
  return GetGroupLookupResult(
    groupKey: (() { final guardedValue = map['groupKey']; if (guardedValue == null) return null; return GetGroupLookupGroupKey.fromMap((guardedValue as Map).cast<String, dynamic>()); })(),
    id: (() { final guardedValue = map['id']; if (guardedValue == null) return null; return guardedValue as String; })(),
    name: (() { final guardedValue = map['name']; if (guardedValue == null) return null; return guardedValue as String; })(),
  );
}