CubeAnomaly.fromJson constructor

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

Implementation

factory CubeAnomaly.fromJson(Map<String, dynamic> json) {
  return CubeAnomaly(
      json['id'],
      DateTime.parse(json['sent']),
      json['recipientId'],
      json['cube'],
      List.from(json['axes']),
      json['value'],
      json['numbers']);
}