decode static method

CreateMessage decode(
  1. Object message
)

Implementation

static CreateMessage decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return CreateMessage()
    ..asset = pigeonMap['asset'] as String?
    ..uri = pigeonMap['uri'] as String?
    ..packageName = pigeonMap['packageName'] as String?
    ..formatHint = pigeonMap['formatHint'] as String?
    ..httpHeaders = pigeonMap['httpHeaders'] as Map<Object?, Object?>?;
}