Creates Map from Class Object
Map<String, dynamic> toJson() => { 'fields': fields.map((value) => value.toJson()).toList(growable: false), };