DeviceSetNewPasswordUserCenter.fromJson constructor

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

Implementation

DeviceSetNewPasswordUserCenter.fromJson(Map<String, dynamic> json) {
  name = json['Name'];
  ret = json['Ret'];
  sessionID = json['SessionID'];
  if (json['Users'] != null) {
    users = <DeviceUser>[];
    json['Users'].forEach((v) {
      users!.add(DeviceUser.fromJson(v));
    });
  }
}