DeviceBoundSessionWithUsage.fromJson constructor

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

Implementation

factory DeviceBoundSessionWithUsage.fromJson(Map<String, dynamic> json) {
  return DeviceBoundSessionWithUsage(
    sessionKey: DeviceBoundSessionKey.fromJson(
      json['sessionKey'] as Map<String, dynamic>,
    ),
    usage: DeviceBoundSessionWithUsageUsage.fromJson(json['usage'] as String),
  );
}