jwtDecodeUnverifiedHeader function

Map<String, dynamic> jwtDecodeUnverifiedHeader(
  1. String jwt
)

Implementation

Map<String, dynamic> jwtDecodeUnverifiedHeader(String jwt) {
  return _decode(jwt.substring(0, jwt.indexOf('.')));
}