UserEnrollment.fromJson constructor

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

Alternate constructor that creates a UserEnrollment from a json.

Params:

  • json: contains the source for instance creation.

Implementation

factory UserEnrollment.fromJson(Map<String, dynamic> json) {
  return const UserEnrollmentConverter().fromJson(json);
}