InstallabilityError.fromJson constructor

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

Implementation

factory InstallabilityError.fromJson(Map<String, dynamic> json) {
  return InstallabilityError(
    errorId: json['errorId'] as String,
    errorArguments: (json['errorArguments'] as List)
        .map((e) =>
            InstallabilityErrorArgument.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}