Back to Flutter Boost

decode method

doc/api/messages/StackInfo/decode.html

5.0.2439 B
Original Source

decode method

StackInfodecode(

  1. Object message

)

Implementation

static StackInfo decode(Object message) {
  final Map<Object, Object> pigeonMap = message as Map<Object, Object>;
  return StackInfo()
    ..containers = pigeonMap['containers'] as List<Object>
    ..routes = pigeonMap['routes'] as Map<Object, Object>;
}