Flutter API validation should reject unexpected fields? का working code example क्या है?
Flutter API validation should reject unexpected fields? का working code example क्या है?
सही उत्तर: Depending on contract, strict/allowlist validation can reduce attack surface.
व्याख्या: Depending on contract, strict/allowlist validation can reduce attack surface. यह इस प्रश्न के संदर्भ में सही उत्तर है। Flutter/Dart development में concept को समझने के साथ उसके lifecycle, constraints, error handling और practical usage को भी ध्यान में रखना चाहिए.
Developer note: Flutter API validation should reject unexpected fields?