EventTracker.fromJson constructor

EventTracker.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EventTracker.fromJson(Map<String, dynamic> json) {
  return EventTracker(
    accountId: json['accountId'] as String?,
    creationDateTime: timeStampFromJson(json['creationDateTime']),
    datasetGroupArn: json['datasetGroupArn'] as String?,
    eventTrackerArn: json['eventTrackerArn'] as String?,
    lastUpdatedDateTime: timeStampFromJson(json['lastUpdatedDateTime']),
    name: json['name'] as String?,
    status: json['status'] as String?,
    trackingId: json['trackingId'] as String?,
  );
}