CallsData.from constructor

CallsData.from(
  1. Map<String, dynamic> data
)

Implementation

CallsData.from(Map<String,dynamic> data):super.from(data){
  if (data != null) {
    eventTimestamp = data["eventTimestamp"] ?? 0;
    type = data["type"] ?? -1;
    duration = data["duration"] ?? 0;
    trace = data["trace"] ?? "";
  }
}