decode static method

AccsResponse decode(
  1. Object message
)

Implementation

static AccsResponse decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return AccsResponse(
    status: pigeonMap['status']! as String,
    errorMessage: pigeonMap['errorMessage'] as String?,
  );
}