Map<String, Object?> toJson() { var system = this.system; final json = <String, Object?>{}; json[r'system'] = system.map((i) => i.toJson()).toList(); return json; }