Map<String, dynamic> toMap(ReadStep r) => {'file': Mapper.toValue(r.file), 'required': Mapper.toValue(r.required), 'type': 'ReadStep'};