RadarReviewResourceSession.fromJson constructor

RadarReviewResourceSession.fromJson(
  1. Object? json
)

Implementation

factory RadarReviewResourceSession.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return RadarReviewResourceSession(
    browser: map['browser'] == null ? null : (map['browser'] as String),
    device: map['device'] == null ? null : (map['device'] as String),
    platform: map['platform'] == null ? null : (map['platform'] as String),
    version: map['version'] == null ? null : (map['version'] as String),
  );
}