fromJson static method

Robot fromJson(
  1. dynamic json
)

Implementation

static Robot fromJson(dynamic json) {
  return Robot(
      rid: json['rid'],
      nickname: json['nickname'],
      avatar: json['avatar'],
      type: json['type'],
      description: json['description'],
      promot: json['promot'],
      tip: json['tip'],
      temperature: json['temperature'],
      topP: json['topP']
  );
}