ExtensionMap extension

on

Methods

getJsonPretty() String
将map转化为json字符串换行
isLengthBetween(int minLength, int maxLength) bool
Checks if length of map is BETWEEN minLength to maxLength.
isLengthEqualTo(int maxLength) bool
Checks if length of map is EQUAL than maxLength.
isLengthGreaterOrEqual(int maxLength) bool
Checks if length of map is GREATER OR EQUAL to maxLength.
isLengthGreaterThan(int maxLength) bool
Checks if length of map is GREATER than maxLength.
isLengthLowerOrEqual(int maxLength) bool
Checks if length of map is LOWER OR EQUAL to maxLength.
isLengthLowerThan(int maxLength) bool
Checks if length of map is LOWER than maxLength. 检查数据长度是否小于maxLength
isNull() bool
Checks if data is null. 检查数据是否为空或空
isNullOrBlank() bool
Checks if data is null or Blank (Empty or only contains whitespace). 检查数据是否为空或空
toJsonString() String
Transform map to json 将map转化为json字符串