RuleMetadata constructor

const RuleMetadata({
  1. required String name,
  2. Map<String, Object?> parameters = const <String, Object?>{},
  3. bool runOnNull = false,
  4. String? message,
  5. bool isDynamic = false,
  6. String? dynamicReason,
  7. Map<String, Map<String, Object?>> nestedSchemas = const <String, Map<String, Object?>>{},
})

Implementation

const RuleMetadata({
  required this.name,
  this.parameters = const <String, Object?>{},
  this.runOnNull = false,
  this.message,
  this.isDynamic = false,
  this.dynamicReason,
  this.nestedSchemas = const <String, Map<String, Object?>>{},
});