toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (containsLowercaseCharacter != null)
        'containsLowercaseCharacter': containsLowercaseCharacter!,
      if (containsNonAlphanumericCharacter != null)
        'containsNonAlphanumericCharacter': containsNonAlphanumericCharacter!,
      if (containsNumericCharacter != null)
        'containsNumericCharacter': containsNumericCharacter!,
      if (containsUppercaseCharacter != null)
        'containsUppercaseCharacter': containsUppercaseCharacter!,
      if (maxPasswordLength != null) 'maxPasswordLength': maxPasswordLength!,
      if (minPasswordLength != null) 'minPasswordLength': minPasswordLength!,
    };