offJsonMessage method

void offJsonMessage(
  1. void handler(
    1. Map<String, dynamic> json
    )
)

Remove JSON message listener

Implementation

void offJsonMessage(void Function(Map<String, dynamic> json) handler) {
  off('*json', (dynamic data) => handler(data as Map<String, dynamic>));
}