decodeExpunge static method

ExpungeRequest decodeExpunge(
  1. Uint8List bytes
)

Decode expunge request

Implementation

static ExpungeRequest decodeExpunge(Uint8List bytes) {
  final json = utf8.decode(bytes);
  final data = jsonDecode(json) as Map<String, dynamic>;
  return ExpungeRequest.fromJson(data);
}