FlutterMobileIMSDKResult.fromJson constructor

FlutterMobileIMSDKResult.fromJson(
  1. Map json
)

Implementation

FlutterMobileIMSDKResult.fromJson(Map<dynamic, dynamic> json) {
  if (json == null) {
    result = false;
    return;
  }
  result = json['result'] == true;
  value = json['value'];
}