UApiLogStatsParams.fromMap constructor

UApiLogStatsParams.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory UApiLogStatsParams.fromMap(Map<String, dynamic> json) => UApiLogStatsParams(
  fromCreatedAt: json["fromCreatedAt"] == null ? null : DateTime.parse(json["fromCreatedAt"]),
  toCreatedAt: json["toCreatedAt"] == null ? null : DateTime.parse(json["toCreatedAt"]),
  bucket: json["bucket"],
);