ReaderSegment.fromJson constructor

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

Implementation

factory ReaderSegment.fromJson(Map<String, dynamic> json) {
  return ReaderSegment(
    customerId: json['customerId'],
    segmentName: json['segmentName'],
    totalReadToday: json['totalReadToday'],
  );
}