Difference.fromJson constructor

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

Implementation

factory Difference.fromJson(Map<String, dynamic> json) {
  final diffs = json['difference'];
  return Difference(diffs[0], diffs[1]);
}