Thing.fromJson constructor

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

Implementation

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