InteractionError.fromJson constructor
Creates an InteractionError from JSON.
Implementation
factory InteractionError.fromJson(Map<String, dynamic> json) =>
InteractionError(
message: json['message'] as String?,
code: json['code'] as String?,
);