• Greg Spencer's avatar
    Make a kReleaseMode constant that is public. (#27502) · da27f623
    Greg Spencer authored
    Before this, we had several places where an isReleaseMode was defined, all with the same definition. This just makes it more broadly visible to allow our users to use it, as well as creating debug and profile versions, and adding a device lab test for it.
    
    Since this is a const value, this makes it possible for a developer to easily mark blocks that can be removed at AOT compile time.
    da27f623
binding.dart 38.8 KB