toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
  if (this.enrollmentMode != null) {
    json[r'enrollment_mode'] = this.enrollmentMode;
  } else {
    json[r'enrollment_mode'] = null;
  }
  if (this.verified != null) {
    json[r'verified'] = this.verified;
  } else {
    json[r'verified'] = null;
  }
  return json;
}