MathActivity.fromJson constructor

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

Implementation

factory MathActivity.fromJson(Map<String, dynamic> json) {
  return MathActivity(
    attribute: json['attribute'] as String,
    math: json['math'] as String,
    name: json['name'] as String,
    next: json['next'] as String?,
  );
}