GCMChannelResponse.fromJson constructor

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

Implementation

factory GCMChannelResponse.fromJson(Map<String, dynamic> json) {
  return GCMChannelResponse(
    credential: json['Credential'] as String,
    platform: json['Platform'] as String,
    applicationId: json['ApplicationId'] as String?,
    creationDate: json['CreationDate'] as String?,
    enabled: json['Enabled'] as bool?,
    hasCredential: json['HasCredential'] 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?,
  );
}