decode static method

BeamsAuthProvider decode(
  1. Object message
)

Implementation

static BeamsAuthProvider decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return BeamsAuthProvider()
    ..authUrl = pigeonMap['authUrl'] as String?
    ..headers = (pigeonMap['headers'] as Map<Object?, Object?>?)
        ?.cast<String?, String?>()
    ..queryParams = (pigeonMap['queryParams'] as Map<Object?, Object?>?)
        ?.cast<String?, String?>()
    ..credentials = pigeonMap['credentials'] as String?;
}