APNSChannelResponse.fromJson constructor
APNSChannelResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory APNSChannelResponse.fromJson(Map<String, dynamic> json) {
return APNSChannelResponse(
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?,
);
}