APNSVoipSandboxChannelResponse.fromJson constructor

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

Implementation

factory APNSVoipSandboxChannelResponse.fromJson(Map<String, dynamic> json) {
  return APNSVoipSandboxChannelResponse(
    platform: json['Platform'] as String,
    applicationId: json['ApplicationId'] as String?,
    creationDate: json['CreationDate'] as String?,
    defaultAuthenticationMethod:
        json['DefaultAuthenticationMethod'] as String?,
    enabled: json['Enabled'] as bool?,
    hasCredential: json['HasCredential'] as bool?,
    hasTokenKey: json['HasTokenKey'] as bool?,
    id: json['Id'] as String?,
    isArchived: json['IsArchived'] as bool?,
    lastModifiedBy: json['LastModifiedBy'] as String?,
    lastModifiedDate: json['LastModifiedDate'] as String?,
    version: json['Version'] as int?,
  );
}