UnflowEvent.fromJson constructor Null safety

UnflowEvent.fromJson(
  1. Map data
)

Implementation

UnflowEvent.fromJson(Map<dynamic, dynamic> data)
    : id = data['id'],
      name = data['name'],
      occurredAt = data['occurred_at'],
      screenId = data['screen_id'],
      rating = data['rating'];