factory Thing.fromJson(Map<String, dynamic> json) { return Thing( thingArn: json['thingArn'] as String?, thingName: json['thingName'] as String?, ); }