HanXinParams.fromJson constructor

HanXinParams.fromJson(
  1. Map<String, dynamic> json
)

Creates a HanXinParams instance from a JSON representation.

Implementation

HanXinParams.fromJson(Map<String, dynamic> json) {
  encodeMode = HanXinEncodeMode.fromJson(json['encodeMode']);
  errorLevel = HanXinErrorLevel.fromJson(json['errorLevel']);
  version = HanXinVersion.fromJson(json['version']);
  eCIEncoding = ECIEncodings.fromJson(json['eCIEncoding']);
}