Entry.fromJson constructor

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

Implementation

factory Entry.fromJson(Map<String, dynamic> json) {
  return Entry(
      json['cube'],
      json['value'] is int ? json['value'].toDouble() : json['value'],
      List.from(json['axes']));
}