UAdminPaymentTerminalController class

Inheritance

Properties

brand ↔ UTerminalBrandResponse?
getter/setter pair
brandFilter ↔ UTerminalBrandResponse?
getter/setter pair
broker ↔ UTerminalBrokerResponse?
getter/setter pair
brokerFilter ↔ UTerminalBrokerResponse?
getter/setter pair
creatorIdFilterController → TextEditingController
final
editing ↔ UTerminalResponse?
getter/setter pair
endDate ↔ DateTime?
getter/setter pairinherited
endDateController → TextEditingController
finalinherited
formKey → GlobalKey<FormState>
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
imeiController → TextEditingController
final
list ↔ List<UTerminalResponse>
getter/setter pair
merchant ↔ UMerchantResponse?
getter/setter pair
merchantIdFilterController → TextEditingController
final
otpAdmin ↔ bool
getter/setter pair
otpCodeController → TextEditingController
final
otpGenerate ↔ bool
getter/setter pair
otpLengthController → TextEditingController
final
otpResult ↔ String
getter/setter pair
otpSerialController → TextEditingController
final
otpValid ↔ bool?
getter/setter pair
pageNumber → URxInt
finalinherited
pageSize ↔ int
getter/setter pairinherited
rejectReasonController → TextEditingController
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serialController → TextEditingController
final
serialFilterController → TextEditingController
final
simCardNumberController → TextEditingController
final
simCardSerialController → TextEditingController
final
startDate ↔ DateTime?
The list filter's date range, shown in startDateController / endDateController.
getter/setter pairinherited
startDateController → TextEditingController
finalinherited
state → URxState
finalinherited
tagOrderBy → URx<TagOrderBy>
finalinherited
terminalIdController → TextEditingController
final
totalCount ↔ int
getter/setter pairinherited
totalPages → URxInt
finalinherited
typeFilter ↔ TagTerminal?
getter/setter pair

Methods

applyFilters() → void
approve(UTerminalResponse i) → void
clearDates() → void
inherited
clearFilters() → void
confirmAction(Future<(dynamic, dynamic, String?)> call(), void reload(), {String? title, String? message}) → void
Asks for confirmation (the dialog closes itself), then runs call through send. Defaults to a delete prompt.
inherited
delete(UTerminalResponse i) → void
dispose() → void
Releases everything this controller owns. The page that created the controller calls this from its own State.dispose(); a subclass that adds its own notifiers overrides this and ends with super.dispose().
override
import(void onResult(UTerminalImportResponse r)) → void
init({UMerchantResponse? merchant}) → Future<void>
intOf(TextEditingController c) → int?
inherited
loadForm(UTerminalResponse? t) → void
loadOtp() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
numOf(TextEditingController c) → double?
The number typed in c (Persian digits and separators allowed); null when empty.
inherited
read() → Future<void>
readUsersById(List<String> ids) → Future<List<UUserResponse>>
The users with ids; the ones that fail to load are skipped.
inherited
reject(UTerminalResponse i) → Future<bool>
runOtp() → void
save() → Future<bool>
searchBrands(String query) → Future<List<UTerminalBrandResponse>>
searchBrokers(String query) → Future<List<UTerminalBrokerResponse>>
searchUsers(String query) → Future<List<UUserResponse>>
Users matching query, for user pickers.
inherited
send<T>(Future<(T?, Object?, String?)> call, VoidCallback? reload) → Future<T?>
Awaits a service call's (ok, error, exception) result: on success toasts and runs reload, otherwise toasts the error. Returns the ok response (on create its result is the new id), or null when it failed.
inherited
setError([String? message]) → void
inherited
setTotalPages(int count) → void
inherited
splitList(String text) → List<String>
"a, b، c" → "a", "b", "c" (Latin and Persian commas).
inherited
supportPassword(UTerminalResponse i) → Future<String?>
toString() → String
A string representation of this object.
inherited
viewAgreement(UTerminalResponse i) → Future<void>

Operators

operator ==(Object other) → bool
The equality operator.
inherited