MiniProgramNfcPolicy constructor

const MiniProgramNfcPolicy({
  1. bool enabled = false,
  2. List<String> allowedRecordTypes = const ['text', 'uri'],
  3. int maxReadMs = 15000,
  4. int maxRecords = 8,
  5. int maxMessageBytes = 4096,
})

Implementation

const MiniProgramNfcPolicy({
  this.enabled = false,
  this.allowedRecordTypes = const ['text', 'uri'],
  this.maxReadMs = 15000,
  this.maxRecords = 8,
  this.maxMessageBytes = 4096,
});