toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      's': direction.toString(),
      't': directionTablet.toString(),
      'd': directionDesktop.toString(),
    };