GetTrackerAssociationResult.fromMap constructor

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

Implementation

factory GetTrackerAssociationResult.fromMap(Map<String, dynamic> map) {
  return GetTrackerAssociationResult(
    consumerArn: (() { final guardedValue = map['consumerArn']; if (guardedValue == null) return null; return guardedValue as String; })(),
    id: (() { final guardedValue = map['id']; if (guardedValue == null) return null; return guardedValue as String; })(),
    region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return guardedValue as String; })(),
    trackerName: (() { final guardedValue = map['trackerName']; if (guardedValue == null) return null; return guardedValue as String; })(),
  );
}