toJson method

Map<String, dynamic> toJson()

to json(Map<String,dynamic>) of model

Implementation

Map<String, dynamic> toJson() {
  return {
    'arch': arch,
    'build': build,
    'distro': distro,
    'hostname': hostname,
    'serial': serial,
    'uuid': uuid,
  };
}