utils/utils library
Functions
-
downsizeImage(
File image, {double scale = 0.5, int quality = 85}) → Future< File> -
formatBytes(
int bytes, int decimals) → String -
generateSubKeywords(
String input) → List< String> -
getTypeName<
T> ({bool capitalizedFirstLetter = false}) → String - "<", ">", 그 사이의 문자를 제거하고 모델 이름을 소문자로 변환 원하는 경우 첫 글자를 대문자로 변환할 수 있음 e.g., "Reservation
-
getTypeNameDeprecated<
T> () → String - "<", ">" 문자를 제거하고 모델 이름을 소문자로 변환
-
isLateVariableInitialized(
dynamic lateVariable) → bool -
requestJWTWithKakaoToken(
dynamic kakaoToken) → Future< Response?> -
resizeImageIfNeeded(
Uint8List imageData, {double scale = 0.5, int quality = 85}) → Uint8List