BatchPermissionsFailureEntry.fromJson constructor

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

Implementation

factory BatchPermissionsFailureEntry.fromJson(Map<String, dynamic> json) {
  return BatchPermissionsFailureEntry(
    error: json['Error'] != null
        ? ErrorDetail.fromJson(json['Error'] as Map<String, dynamic>)
        : null,
    requestEntry: json['RequestEntry'] != null
        ? BatchPermissionsRequestEntry.fromJson(
            json['RequestEntry'] as Map<String, dynamic>)
        : null,
  );
}