flag method

Future flag(
  1. int id,
  2. bool val
)

Implementation

Future flag(int id, bool val) => dio.put('/mailbox/flag/$id?flag=$val');