fromJson static method

WidgetUserAgent fromJson(
  1. dynamic json
)

Implementation

static WidgetUserAgent fromJson(dynamic json) {
  return WidgetUserAgent(
    json['os'] as String,
    json['browser'] as String,
  );
}