InteractionError.fromJson constructor

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

Creates an InteractionError from JSON.

Implementation

factory InteractionError.fromJson(Map<String, dynamic> json) =>
    InteractionError(
      message: json['message'] as String?,
      code: json['code'] as String?,
    );